import request from '@/router/axios'

export function page(data) {
  return request({
    url: '/rfidrecord/page',
    method: 'get',
    params: data
  })
}

export function deleteById(id) {
  return request({
    url: '/rfidrecord/' + id,
    method: 'delete'
  })
}

export function list(data) {
  return request({
    url: '/rfidrecord/list',
    method: 'get',
    params: data
  })
}

export function dealAlarm(data) {
  return request({
    url: '/rfidrecord/deal',
    method: 'get',
    params: data
  })
}

export function video(data) {
  return request({
    url: '/rfidrecord/video',
    method: 'post',
    data:data
  })
}